package com.xja.seckill.fallback;

import com.xja.seckill.order.OrderClientApi;
import com.xja.seckill.order.commons.JsonBean;
import org.springframework.stereotype.Component;

@Component
public class OrderHystrix implements OrderClientApi {
    @Override
    public JsonBean payOrder(String code) {
        return new JsonBean(0,"服务降级",null);
    }
}
